<template>
	<view class="follow flex-between">
		<view class="box">
			<view class="top flex-center-column">
				<image src="/static/1.jpg" mode="aspectFill"></image>
				<view class="h3">金刚葫芦娃</view>
				<text>Huobi 交易员</text>
			</view>
			<view class="list flex-between">
				<view class="h3">我的账户</view>
				<view class="h3">Huobi</view>
			</view>
			<view class="list">
				<view class="h3">我的账户</view>
				<view class="flex-between">
					<input type="number" placeholder="请输入跟随比例">
					<view class="flex-between btn">
						<view :class="{active:tabIndex == 0}" @click="tabIndex = 0">正向</view>
						<view :class="{active:tabIndex == 1}" @click="tabIndex = 1">反向</view>
					</view>
				</view>
			</view>
			<button class="flex-center">跟随USDT</button>
		</view>
		<view class="bottom">
			<view class="p">假如您设置为0.5倍比例跟随，交易员下单10张，那么您的下单额为10x0.5=5张</view>
			<view class="p">跟随手续费/张<text>(跟随交易额折合10.000USD为1张)</text></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabIndex:0
			};
		}
	}
</script>

<style lang="less">
	page{
		background: white;
	}
	@color:#d4237a;
	.follow{
		padding: 0 40rpx;
		height: 100vh;
		flex-direction: column;
		.box{
			width: 100%;
		}
		.top{
			padding: 20rpx 0;
			image{
				width: 120rpx;
				height: 120rpx;
				border-radius: 50%;
			}
			.h3{
				font-size: 30rpx;
				font-weight: bold;
			}
			text{
				font-size: 28rpx;
				color:#666;
			}
		}
		.list{
			padding: 20rpx 0;
			.h3{
				font-size: 30rpx;
				font-weight: bold;
				margin-bottom: 10rpx;
			}
			input{
				font-size: 36rpx;
			}
			.btn{
				width: 200rpx;
				font-size: 28rpx;
				color:#666;
				view{
					padding: 5rpx;
					font-weight: bold;
				}
				.active{
					color:#000;
					
				}
			}
		}
		
		button{
			background: @color;
			color:white;
			font-size: 26rpx;
			height: 70rpx;
			border-radius: 35rpx;
			margin: 60rpx;
		}
		.bottom{
			width: 100%;
			font-size: 20rpx;
			.p{
				padding-bottom:50rpx;
			}
			text{
				color:#999;
			}
		}
	}
</style>
